import { tableServiceInterface } from "@/common/interface/table.interface";
import { 
  $musicSongList,
  $musicNoticeDelete,
  $musicNoticeUpdate,
  $musicNoticeAdd,
  $musicNoticeDetail,
} from "@/apis/music/notice/notice";
import { 
  musicNoticeListInterface,
  musicNoticeUpdateInterface,
  musicNoticeAddInterface,
} from "@/apis/music/notice/notice.interface";
export default class NoticeService implements tableServiceInterface {
  async getTable(e: musicNoticeListInterface): Promise<any> {
    return $musicSongList(e);
  }
  deleteMultiple(e: Array<string>): Promise<any> {
    return $musicNoticeDelete(e);
  }
  edit(e: musicNoticeUpdateInterface): Promise<any> {
    return $musicNoticeUpdate(e);
  }
  add(e: musicNoticeAddInterface): Promise<any> {
    return $musicNoticeAdd(e);
  }
  detail(e: string): Promise<any> {
    return $musicNoticeDetail(e);
  }
}